home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0019-Re - MacApp & Seria-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-06  |  1.7 KB  |  65 lines  |  [TEXT/GEOL]

  1. Item    7301768                         5-Oct-89        15:34
  2.  
  3. From:   MADA.EUROPE                     MacApp Dev Assoc Europe, E Carrasco
  4.  
  5. To:     AM0086                          Charles Schwab, Margaret Taylor,BDM
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    RE - MacApp & Serial Comm...
  10.  
  11. RE - MacApp & Serial Communication
  12.  
  13. Hi Margaret & Charles,
  14.  
  15. TAsyncHandler and TAsyncDocument MacApp object already exists and handles
  16. serial communication.
  17. See (and order to MADA Europe) MacAnswer application (author: Carl Nelson &
  18. Associates).
  19. Reference: MacApp Goodies Volume 1 (GV-1)
  20.  
  21.  
  22. Carl's notes
  23. -------------------------------------------------------------------------
  24. UAsync
  25.  
  26. Carl Nelson
  27. 4007 Nassau Place
  28. Everett, WA
  29.  
  30. March 1987
  31.  
  32. See the March Issue of MacApp Developer's Association for notes and
  33. commentary on the UAsync Unit.
  34.  
  35. The UNIT is intended to show how to use the Async port from
  36. a MacApp program.  It uses the same approach that the AppleTalk
  37. unit in MacApp 1.0B1 used.
  38.  
  39. The methods to look at for overriding are:
  40.  
  41. TAsyncHandler.DoIdle   which checks for incoming characters.
  42.    You may want to handle the characters as they
  43.    arrive instead of posting an event.
  44.  
  45. TAsyncHandler.ObeyAppEvt   should you wish to post events then you must
  46.    override this method.
  47.  
  48.  
  49. You will call IAsyncHandler during IMyApplication and return success
  50. or fail to gMyApplication.RUN should we fail to setup the port properly.
  51.  
  52. The example program MacAnswer shows use of the unit to build a dumb TTY.
  53.  
  54. -------------------------------------------------------------------------
  55.  
  56.  
  57. About those Building Blocks:
  58. Feel free to send MADA.Europe and MADA your enhancements of those old 1.0B1
  59. blocks,  (you know it "don't reinvent the weel").
  60.  
  61.  
  62. Regards,
  63. Eric
  64.  
  65.